﻿using System;
using System.Collections.Generic;
using System.Text;
using NExt.UI.Find.Base;
using NExt.UI.Browse.Data;

namespace NExt.UI.Find.Data
{
    public class DataFindPresenter : FindPresenterBase
    {
        public DataBrowsePresenter browsePresenter;

        protected override void FormBuildComponents()
        {
            base.FormBuildComponents();
            this.browsePresenter = BuildBrowsePresenter();
        }

        protected virtual DataBrowsePresenter BuildBrowsePresenter()
        {
            return new DataBrowsePresenter();
        }

        protected override void FormInitializeComponents()
        {
            base.FormInitializeComponents();
            items.Add(browsePresenter);
        }

    }
}
